import random


def rand_float(min: float, max: float):
    return random.random() * (max - min) + min
